﻿using BatchQueryWebApi.Models;

namespace BatchQueryWebApi.Services
{
    public interface IDeviceStatusService
    {
        /// <summary>
        /// 批量查询设备状态
        /// </summary>
        /// <param name="deviceIds">设备ID列表</param>
        /// <param name="timeout">每个查询的超时时间</param>
        /// <returns>设备状态结果列表</returns>
        Task<IEnumerable<DeviceStatusResult>> GetDeviceStatusesAsync(IEnumerable<string> deviceIds, TimeSpan timeout);
    }
}
